package com.dykj.fireFighting.api.socialUnit.devicemanger.service;


import com.dykj.fireFighting.api.socialUnit.devicemanger.entity.PartitionsDevice;
import com.dykj.fireFighting.common.core.service.IBaseService;

import java.util.List;

/**
 * 分区设备中间表
 *
 * @Author JacksonTu
 * @Date  2021-07-15 11:25:03
 */
public interface IPartitionsDeviceService extends IBaseService<PartitionsDevice> {
   List<PartitionsDevice> getDevices(String partitionId);
   int insertDevicePoint(String partitionId,List<PartitionsDevice> partitionsDeviceList);
   int insertPoint(PartitionsDevice partitionsDevice);
    List<PartitionsDevice> getList(String partitionId);
    PartitionsDevice getPoint(String partitionId,String deviceId);
    Boolean deletePoint(String deviceId);

}

